﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace MvcApplication6.Models
{
    public class UpdateSaleModel
    {
        //id sale
        public int IdSale { get; set; }
        //ID menu
        public int MenuLv { get; set; }
        //sale
        [Required, Range(0, 99, ErrorMessage = "*Giảm giá trong khoảng 0 - 99")]
        public int Sale { get; set; }
        //Name menu
        public string NameMenu { get; set; }
    }
}